#!/bin/bash
day_id=$1
spark-sql -e "alter table ods.ods_oidd add if not exists partition(day_id=${day_id})"